package io.renren.modules.store.dao;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import io.renren.modules.store.entity.TStoreDiscountEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.renren.modules.store.entity.vo.FoodDiscountVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 
 * 
 * @author steakliu
 * @email 2319492349@qq.com
 * @date 2021-01-25 21:22:21
 */
@Mapper
public interface TStoreDiscountDao extends BaseMapper<TStoreDiscountEntity> {

    //List<FoodDiscountVo> listFoodDetail(Map<String, Object> params);

    Page<FoodDiscountVo> listFoodDetail(IPage<FoodDiscountVo> page, @Param("params") Map<String,Object> params);
}
